#define  _CRT_SECURE_NO_WARNINGS
#include "SeqList.h"

void Test()
{
	SL s;
	InitSeqList(&s);
	PushBack(&s, 1);
	PushBack(&s, 2);
	PushBack(&s, 3);
	PushBack(&s, 4);
	PrintSeqList(&s);
	//SeqListModity(&s, 1, 0);
	SeqListInsert(&s, 4, 0);
	PrintSeqList(&s);

	//SeqListErase(&s, 3);
	/*SeqListInsert(&s, 1,0);
	PrintSeqList(&s);
	int ret = SeqListFand(&s, 2);
	printf("%d ", ret);*/


	/*PushFront(&s, 100);
	PushFront(&s, 500);
	PrintSeqList(&s);

	PopBack(&s);
	PrintSeqList(&s);

	PopFront(&s);
	PopFront(&s);
	PrintSeqList(&s);*/

}

int main()
{
	Test();
	return 0;
}